mirror of
https://github.com/anope/anope.git
synced 2026-07-03 01:13:13 +02:00
BUILD : 1.7.14 (1107) BUGS : 561 NOTES : Various small fixes for charybdis
git-svn-id: svn://svn.anope.org/anope/trunk@1107 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@831 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
f978c93b2c
commit
9e136a5c2f
+1
-1
@@ -602,7 +602,7 @@ int main(int ac, char **av, char **envp)
|
||||
if (delayed_quit)
|
||||
break;
|
||||
|
||||
moduleCallBackRun();
|
||||
moduleCallBackRun();
|
||||
|
||||
waiting = -1;
|
||||
if (t - last_check >= TimeoutCheck) {
|
||||
|
||||
@@ -1803,8 +1803,8 @@ int charybdis_send_account(int argc, char **argv)
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* XXX: We need a hook on /ns logout before this is useful! --nenolod */
|
||||
/* We have one now! -GD */
|
||||
int charybdis_send_deaccount(int argc, char **argv)
|
||||
{
|
||||
send_cmd((UseTS6 ? TS6SID : ServerName), "ENCAP * SU %s",
|
||||
@@ -1812,7 +1812,6 @@ int charybdis_send_deaccount(int argc, char **argv)
|
||||
|
||||
return MOD_CONT;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Tell anope which function we want to perform each task inside of anope.
|
||||
@@ -1914,7 +1913,7 @@ int AnopeInit(int argc, char **argv)
|
||||
pmodule_ircd_cbmodes(myCbmodes);
|
||||
pmodule_ircd_cmmodes(myCmmodes);
|
||||
pmodule_ircd_csmodes(myCsmodes);
|
||||
pmodule_ircd_useTSMode(0);
|
||||
pmodule_ircd_useTSMode(1);
|
||||
|
||||
/** Deal with modes anope _needs_ to know **/
|
||||
pmodule_invis_umode(UMODE_i);
|
||||
@@ -1934,11 +1933,19 @@ int AnopeInit(int argc, char **argv)
|
||||
hk = createEventHook(EVENT_NICK_REGISTERED, charybdis_send_account);
|
||||
moduleAddEventHook(hk);
|
||||
|
||||
#if 0
|
||||
/* XXX: It'd be nice if we could have an event like this, but it's not there yet :( */
|
||||
/* It's there now! Trystan said so! -GD */
|
||||
hk = createEventHook(EVENT_NICK_LOGOUT, charybdis_send_deaccount);
|
||||
moduleAddEventHook(hk);
|
||||
#endif
|
||||
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
/* Clean up allocated things in here */
|
||||
void AnopeFini(void)
|
||||
{
|
||||
if (UseTS6)
|
||||
free(TS6SID);
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
||||
Reference in New Issue
Block a user