Skip to content
Snippets Groups Projects
Commit 78585cfd authored by Vijver, van de, Bob (UT-GUEST)'s avatar Vijver, van de, Bob (UT-GUEST)
Browse files

Revert notification change for nick directed messages

parent 61938ced
No related branches found
No related tags found
No related merge requests found
......@@ -635,7 +635,10 @@ class Connection:
if len(segment) > maxlength:
segment = segment[:maxlength]
try:
self.connection.notice(channel, segment)
if channel.startswith('#'):
self.connection.notice(channel, segment)
else:
self.connection.privmsg(channel, segment)
except ValueError as err:
LOG.warning((
"rejected a message to %s on %s "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment