From b0c9cdc3bc0a5b22c10b1f17b7f8555f19525c6a Mon Sep 17 00:00:00 2001 From: Juhani Haverinen Date: Tue, 1 Apr 2014 23:45:57 +0300 Subject: [PATCH] Random addition --- botcmd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/botcmd.py b/botcmd.py index c19216a..e0e0127 100644 --- a/botcmd.py +++ b/botcmd.py @@ -133,6 +133,8 @@ def parse((line,irc)): irc.send('PRIVMSG %s :Usage #kick nick reason'%chan) elif line[3]==':#src': irc.send('PRIVMSG %s :https://github.com/JuEeHa/oonbotti2'%chan) + elif line[3]==':#prefix' and chan=='#osdev-offtopic': + irc.send('PRIVMSG %s :gopher://smar.fi:7070/0/hash-prefix'%chan) elif line[3]==':#msg': if len(line)>5: msglock.acquire()