Use IRCServer.original_nickname in perform.py as we might not have our "given" nickname yet
This commit is contained in:
parent
b6d34eb3f8
commit
dcd0c0a542
1 changed files with 1 additions and 1 deletions
|
@ -11,6 +11,6 @@ class Module(object):
|
||||||
command = command.split("%%")
|
command = command.split("%%")
|
||||||
for j, part in enumerate(command[:]):
|
for j, part in enumerate(command[:]):
|
||||||
command[j] = part.replace("%nick%", event["server"
|
command[j] = part.replace("%nick%", event["server"
|
||||||
].nickname)
|
].original_nickname)
|
||||||
command = "%".join(command)
|
command = "%".join(command)
|
||||||
event["server"].send(command)
|
event["server"].send(command)
|
||||||
|
|
Loading…
Reference in a new issue