1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 21:56:37 +02:00

Fixed loading bs_fantasy_owner on startup when using InspIRCd 2.0

This commit is contained in:
Adam
2011-08-10 21:19:42 -04:00
parent eb7c9d0a86
commit f83096c729
3 changed files with 4 additions and 8 deletions
+1
View File
@@ -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
-------------------
+1 -7
View File
@@ -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) {
+2 -1
View File
@@ -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