Revision 13e86181
Added by Vincent Le Goff over 4 years ago
src/client.py | ||
---|---|---|
100 | 100 |
if text.startswith("#"): |
101 | 101 |
self.sharp_engine.execute(text) |
102 | 102 |
else: |
103 |
self.client.write(text) |
|
103 |
# Test the aliases |
|
104 |
for alias in self.world.aliases: |
|
105 |
if alias.test(text): |
|
106 |
return |
|
107 |
|
|
108 |
self.client.write(text + "\r\n") |
|
104 | 109 |
|
105 | 110 |
|
106 | 111 |
class GUIClient(Client): |
Also available in: Unified diff
Add the aliases