Parse commands TOPIC

This commit is contained in:
Némunaire 2012-07-20 19:15:01 +02:00
parent f4d3c6a500
commit ffb3d368d8
2 changed files with 9 additions and 1 deletions

View file

@ -12,6 +12,9 @@ class Channel:
#print ("%s arrive sur %s" % (nick, self.name))
self.people[nick] = level
def chtopic(self, newtopic):
self.topic = newtopic
def nick(self, oldnick, newnick):
print ("%s change de nom pour %s" % (oldnick, newnick))
if oldnick in self.people: