mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fix for bug #814149, bad error message in relaywhois.
This commit is contained in:
parent
a91c55a93a
commit
d0f9e11a32
@ -326,6 +326,9 @@ class Relay(callbacks.Privmsg):
|
||||
realIrc = irc.getRealIrc()
|
||||
try:
|
||||
(nick, network) = nickAtNetwork.split('@', 1)
|
||||
if not ircutils.isNick(nick):
|
||||
irc.error(msg, '%s is not an IRC nick.' % nick)
|
||||
return
|
||||
nick = ircutils.toLower(nick)
|
||||
except ValueError:
|
||||
if len(self.abbreviations) == 2:
|
||||
|
Loading…
Reference in New Issue
Block a user