From b7ce4b6dcc2dd97e1a93054e94248c6427e7d323 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 7 Jan 2011 01:11:35 -0600 Subject: [PATCH] add Alias at priority 1 (so that it is handled first) --- modules/Alias.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/Alias.py b/modules/Alias.py index c5eaec1..02f0185 100644 --- a/modules/Alias.py +++ b/modules/Alias.py @@ -27,6 +27,9 @@ class Alias(Module): """Alias commands as !command, circumventing bot addressing stuff.""" + def priority(self): + return 1 + def do(self, connection, event, nick, userhost, replypath, what, admin_unlocked): """See if there is an alias ("!command") in the text, and if so, translate it into an internal bot command and run it.