wm: pyircd

Download patch

ref: ee77fcf79d83a5a7d824c9570e8a2ac6e93e2a9b
parent: 34ba346d0d82fa4e34e953f872d62bfc5c375df0
author: mkf <mkf@cloud9p.org>
date: Sun Dec 24 22:30:45 EST 2023

privmsg: check if dst is not null

--- a/ircd.py
+++ b/ircd.py
@@ -176,6 +176,9 @@
 		dst = cmd[0]
 		msg = cmd[1:]
 		
+		if(len(dst) == 0):
+			return
+		
 		tmsg = ''
 		for i in msg:
 			tmsg += (' ' + i)