mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-06 17:44:09 +01:00
Extra space zapped\!
This commit is contained in:
parent
b7bd3d414e
commit
f19c98a8f1
@ -500,10 +500,10 @@ class Relay(callbacks.Privmsg):
|
|||||||
if channel not in self.registryValue('channels'):
|
if channel not in self.registryValue('channels'):
|
||||||
return
|
return
|
||||||
network = self._getIrcName(irc)
|
network = self._getIrcName(irc)
|
||||||
if not self.registryValue('hostmasks', channel):
|
if self.registryValue('hostmasks', channel):
|
||||||
hostmask = ' '
|
|
||||||
else:
|
|
||||||
hostmask = ' (%s)' % msg.prefix
|
hostmask = ' (%s)' % msg.prefix
|
||||||
|
else:
|
||||||
|
hostmask = ''
|
||||||
s = '%s%s has joined on %s' % (msg.nick, hostmask, network)
|
s = '%s%s has joined on %s' % (msg.nick, hostmask, network)
|
||||||
m = ircmsgs.privmsg(channel, s)
|
m = ircmsgs.privmsg(channel, s)
|
||||||
self._sendToOthers(irc, m)
|
self._sendToOthers(irc, m)
|
||||||
@ -514,10 +514,10 @@ class Relay(callbacks.Privmsg):
|
|||||||
if channel not in self.registryValue('channels'):
|
if channel not in self.registryValue('channels'):
|
||||||
return
|
return
|
||||||
network = self._getIrcName(irc)
|
network = self._getIrcName(irc)
|
||||||
if not self.registryValue('hostmasks', channel):
|
if self.registryValue('hostmasks', channel):
|
||||||
hostmask = ' '
|
|
||||||
else:
|
|
||||||
hostmask = ' (%s)' % msg.prefix
|
hostmask = ' (%s)' % msg.prefix
|
||||||
|
else:
|
||||||
|
hostmask = ''
|
||||||
s = '%s%s has left on %s' % (msg.nick, hostmask, network)
|
s = '%s%s has left on %s' % (msg.nick, hostmask, network)
|
||||||
m = ircmsgs.privmsg(channel, s)
|
m = ircmsgs.privmsg(channel, s)
|
||||||
self._sendToOthers(irc, m)
|
self._sendToOthers(irc, m)
|
||||||
|
Loading…
Reference in New Issue
Block a user