Skip to content
This repository was archived by the owner on Feb 21, 2018. It is now read-only.

Commit 2a22161

Browse files
committed
src/cod: Allow notices to have custom sources
1 parent daddc6e commit 2a22161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def notice(self, target, line, source=None):
331331
if source is None:
332332
source = self.client
333333

334-
self.sendLine(":%s NOTICE %s :%s" % (self.client.uid, target, line))
334+
self.sendLine(":%s NOTICE %s :%s" % (source.uid, target, line))
335335

336336
def kill(self, target, source=None, message="Connection has been terminated."):
337337
"""

0 commit comments

Comments
 (0)