Encyclopedia: Trim alert relay message.

This commit is contained in:
Krytarik Raido 2021-10-14 17:04:04 +02:00
parent 57cfd73750
commit 39d64b3e74
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ import supybot
import supybot.world as world
from importlib import reload
__version__ = "4.1.0"
__version__ = "4.1.1"
__author__ = supybot.Author("Krytarik Raido", "krytarik", "krytarik@gmail.com")
__contributors__ = {
supybot.Author("Dennis Kaarsemaker", "Seveas", "dennis@kaarsemaker.net"): ['Original Author'],

View File

@ -553,7 +553,7 @@ class Encyclopedia(callbacks.Plugin):
else:
if self.alert:
if channel and not channel.endswith('bots'):
irc.reply('%s called the ops in %s (%s)' % (msg.nick, msg.args[0], retmsg),
irc.reply('%s called the ops in %s (%s)' % (msg.nick, msg.args[0], retmsg.rstrip(': ')),
to=self.registryValue('relayChannel', channel))
self.alert = False
if retmsg and checkUrl(retmsg):