Parse commands TOPIC
This commit is contained in:
parent
f4d3c6a500
commit
ffb3d368d8
2 changed files with 9 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue