diff options
author | Yorhel <git@yorhel.nl> | 2009-07-23 20:19:12 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-07-23 20:19:12 +0200 |
commit | c43b23e86e59cf253a904f54313c1ec72b2470f5 (patch) | |
tree | 604d067722ff98326657a55bcc02bf052303401f /lib/Multi/Anime.pm | |
parent | 91b95b0bbf17a5756e5a7da4649f82f5a9184975 (diff) |
Remove session aliases in shutdown handler
This isn't really necessary when shutting down the entire process, but it
is for the individual session to shut down. This will make it possible to
load/unload/reload Multi modules on demand without restarting the process.
Diffstat (limited to 'lib/Multi/Anime.pm')
-rw-r--r-- | lib/Multi/Anime.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Multi/Anime.pm b/lib/Multi/Anime.pm index bc01d26e..03134925 100644 --- a/lib/Multi/Anime.pm +++ b/lib/Multi/Anime.pm @@ -100,6 +100,7 @@ sub shutdown { $_[KERNEL]->delay('check_anime'); $_[KERNEL]->delay('nextcmd'); $_[KERNEL]->delay('receivepacket'); + $_[KERNEL]->alias_remove('anime'); } |