mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fixed possible uncaught exception bugz0r.
This commit is contained in:
parent
fcb5163527
commit
d00935854e
@ -39,6 +39,7 @@ import plugins
|
||||
|
||||
import re
|
||||
import sys
|
||||
import copy
|
||||
import time
|
||||
from itertools import imap, ifilter
|
||||
|
||||
@ -164,7 +165,7 @@ class Relay(callbacks.Privmsg):
|
||||
abbreviation = privmsgs.getArgs(args)
|
||||
self.ircs[abbreviation] = realIrc
|
||||
self.abbreviations[realIrc] = abbreviation
|
||||
self.ircstates[realIrc] = irclib.IrcState()
|
||||
self.ircstates[realIrc] = copy.copy(realIrc.state)
|
||||
self.lastmsg[realIrc] = ircmsgs.ping('this is just a fake message')
|
||||
self.started = True
|
||||
irc.replySuccess()
|
||||
|
Loading…
Reference in New Issue
Block a user