]> jfr.im git - erebus.git/blobdiff - modules/weather.py
bugfixes
[erebus.git] / modules / weather.py
index 597335019db22735d7cc8f7fc2daa9e1033b1eb4..3f5879aaa61831d9f513c85ae17ed6090d9403e6 100644 (file)
@@ -22,7 +22,7 @@ import json, urllib, time, rfc822
 
 def location(person, default=None): return lib.mod('userinfo')._get(person, 'location', default=None)
 
-@lib.hook(needchan=False)
+@lib.hook(('weather','w'), needchan=False)
 @lib.help('[<location>]', 'show weather for your location')
 def weather(bot, user, chan, realtarget, *args):
        if len(args) == 0: