diff options
author | Adam <Adam@anope.org> | 2011-08-10 21:19:42 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-10 21:19:42 -0400 |
commit | f83096c729c0f3f33ab0a0dfc019e6bad8aa30bc (patch) | |
tree | 7f5fdf0304e75429b994a5ed208bd45447d04ad3 | |
parent | eb7c9d0a863089ed9dc5c428c1d1214c8f0b85ba (diff) |
Fixed loading bs_fantasy_owner on startup when using InspIRCd 2.0
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/core/bs_fantasy_owner.c | 8 | ||||
-rw-r--r-- | version.log | 3 |
3 files changed, 4 insertions, 8 deletions
@@ -3,6 +3,7 @@ Anope Version 1.8 - GIT 05/30 F Fixed removing vhosts on InspIRCd when m_cloaking is unloaded [#1273] 07/23 F Fixed a potential crash in the badwords kicker [ #00] 08/09 F Fixed deopping the first user to join a channel during a burst [#1287] +08/10 F Fixed loading bs_fantasy_owner on InspIRCd 2.0 on startup [ #00] Anope Version 1.8.6 ------------------- diff --git a/src/core/bs_fantasy_owner.c b/src/core/bs_fantasy_owner.c index c94fc1052..f41965bfc 100644 --- a/src/core/bs_fantasy_owner.c +++ b/src/core/bs_fantasy_owner.c @@ -31,12 +31,6 @@ int AnopeInit(int argc, char **argv) (VERSION_STRING); moduleSetType(CORE); - /* No need to load of we don't support owner */ - if (!ircd->owner) { - alog("Your ircd doesn't support the owner channelmode; bs_fantasy_owner won't be loaded"); - return MOD_STOP; - } - hook = createEventHook(EVENT_BOT_FANTASY, do_fantasy); moduleAddEventHook(hook); @@ -62,7 +56,7 @@ int do_fantasy(int argc, char **argv) User *u; ChannelInfo *ci; - if (argc < 3) + if (argc < 3 || !ircd->owner) return MOD_CONT; if (stricmp(argv[0], "deowner") == 0) { diff --git a/version.log b/version.log index 67dce8658..58c7174d3 100644 --- a/version.log +++ b/version.log @@ -8,9 +8,10 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="7" VERSION_EXTRA="-git" -VERSION_BUILD="3077" +VERSION_BUILD="3078" # $Log$ # Changes since 1.8.6 Release +#Revision 3078 - Fixed loading bs_fantasy_owner on startup when using InspIRCd 2.0 #Revision 3077 - Bug #1287 - Fixed chan_set_correct_modes to not deop the first user from syncing servers #Revision 3076 - Bug #1269 - Fixed install.js for Windows 7 builds. #Revision 3075 - Fixed a potential crash in the badwords kicker, and fixed matching BW_SINGLE with BSCaseSensitive enabled |