Browse files

- Call m_cap_Init() when m_cap is loaded through commands.so. Reporte…

…d by nenolod.
  • Loading branch information...
1 parent 4c8371c commit 585f8c349d8390b4fcd8b4836ba1df1b0a7642a0 @binki binki committed Mar 6, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 Changes
  2. +2 −0 src/modules/l_commands.c
View
2 Changes
@@ -2399,3 +2399,5 @@
attacked by clones then you may see some improvement in speed and/or lower
CPU usage.
- Minor documentation typos, thanks warg (#4094).
+- Call m_cap_Init() when m_cap is loaded through commands.so. Reported by
+ nenolod.
View
2 src/modules/l_commands.c
@@ -126,6 +126,7 @@ extern int m_svsnolag_Init(ModuleInfo *modinfo);
extern int m_starttls_Init(ModuleInfo *modinfo);
extern int m_nopost_Init(ModuleInfo *modinfo);
extern int m_issecure_Init(ModuleInfo *modinfo);
+extern int m_cap_Init(ModuleInfo *modinfo);
#ifdef GUEST
extern int m_guest_Init(ModuleInfo *modinfo);
#endif
@@ -364,6 +365,7 @@ int l_commands_Init(ModuleInfo *modinfo)
m_starttls_Init(ModCmdsInfo);
m_nopost_Init(ModCmdsInfo);
m_issecure_Init(ModCmdsInfo);
+ m_cap_Init(ModCmdsInfo);
#ifdef GUEST
m_guest_Init(ModCmdsInfo);
#endif

0 comments on commit 585f8c3

Please sign in to comment.