Skip to content

Commit

Permalink
Fixed loading bs_fantasy_owner on startup when using InspIRCd 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam- committed Aug 11, 2011
1 parent eb7c9d0 commit f83096c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -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
-------------------
Expand Down
8 changes: 1 addition & 7 deletions src/core/bs_fantasy_owner.c
Expand Up @@ -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);

Expand All @@ -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) {
Expand Down
3 changes: 2 additions & 1 deletion version.log
Expand Up @@ -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
Expand Down

0 comments on commit f83096c

Please sign in to comment.