mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-10 21:09:22 +01:00
Extra space zapped\!
This commit is contained in:
parent
b7bd3d414e
commit
f19c98a8f1
@ -500,11 +500,11 @@ 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 = ' '
|
hostmask = ' (%s)' % msg.prefix
|
||||||
else:
|
else:
|
||||||
hostmask = ' (%s) ' % msg.prefix
|
hostmask = ''
|
||||||
s = '%s%shas 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