[NeoStats-Devel] [Commits] r2798 - trunk/src
[email protected] Mon, 12 Sep 2005 22:41:38 +1000
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: Fish
Date: Mon Sep 12 20:41:30 2005
New Revision: 2798
Modified:
trunk/src/modules.c
Log:
Perl Extensions?!
Modified: trunk/src/modules.c
==============================================================================
--- trunk/src/modules.c (original)
+++ trunk/src/modules.c Mon Sep 12 20:41:30 2005
@@ -553,6 +553,11 @@
}
mod_ptr = hnode_get( modnode );
irc_chanalert( ns_botptr, _( "Unloading module %s" ), modname );
+#ifdef USE_PERL
+ /* unload any extensions first */
+ unload_perlextension(mod_ptr);
+#endif
+
if( mod_ptr->info->flags & MODULE_FLAG_AUTH )
{
DelAuthModule( mod_ptr );