diff --git a/modules/velib.py b/modules/velib.py index 3a4cfe8..d8f9ea2 100644 --- a/modules/velib.py +++ b/modules/velib.py @@ -4,6 +4,7 @@ import re +from hooks import hook from tools import web nemubotversion = 3.4 @@ -60,6 +61,7 @@ def print_station_status(msg, station): channel=msg.channel, nick=msg.nick) raise IRCException("station %s inconnue." % station) +@hook("cmd_hook", "velib") def ask_stations(msg): """Hook entry from !velib""" global DATAS