mirror of
https://github.com/anope/anope.git
synced 2026-07-07 05:13:12 +02:00
Added cmd_eob() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1267 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -1230,9 +1230,9 @@ int anope_event_pass(const char *source, int ac, const char **av)
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
void bahamut_cmd_eob()
|
||||
void BahamutIRCdProto::cmd_eob()
|
||||
{
|
||||
send_cmd(NULL, "BURST 0");
|
||||
send_cmd(NULL, "BURST 0");
|
||||
}
|
||||
|
||||
int anope_event_burst(const char *source, int ac, const char **av)
|
||||
@@ -1352,7 +1352,6 @@ void moduleAddAnopeCmds()
|
||||
pmodule_cmd_242(bahamut_cmd_242);
|
||||
pmodule_cmd_243(bahamut_cmd_243);
|
||||
pmodule_cmd_211(bahamut_cmd_211);
|
||||
pmodule_cmd_eob(bahamut_cmd_eob);
|
||||
pmodule_flood_mode_check(bahamut_flood_mode_check);
|
||||
pmodule_cmd_jupe(bahamut_cmd_jupe);
|
||||
pmodule_valid_nick(bahamut_valid_nick);
|
||||
|
||||
@@ -76,7 +76,6 @@ void bahamut_cmd_318(const char *source, const char *who);
|
||||
void bahamut_cmd_242(const char *buf);
|
||||
void bahamut_cmd_243(const char *buf);
|
||||
void bahamut_cmd_211(const char *buf);
|
||||
void bahamut_cmd_eob();
|
||||
int bahamut_flood_mode_check(const char *value);
|
||||
void bahamut_cmd_jupe(const char *jserver, const char *who, const char *reason);
|
||||
int bahamut_valid_nick(const char *nick);
|
||||
@@ -111,4 +110,5 @@ class BahamutIRCdProto : public IRCDProtoNew {
|
||||
void cmd_svid_umode(const char *, time_t);
|
||||
void cmd_nc_change(User *);
|
||||
void cmd_svid_umode3(User *, const char *);
|
||||
void cmd_eob();
|
||||
} ircd_proto;
|
||||
|
||||
@@ -966,11 +966,6 @@ int anope_event_kick(const char *source, int ac, const char **av)
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
void charybdis_cmd_eob()
|
||||
{
|
||||
/* doesn't support EOB */
|
||||
}
|
||||
|
||||
int anope_event_join(const char *source, int ac, const char **av)
|
||||
{
|
||||
if (ac != 1) {
|
||||
@@ -1588,7 +1583,6 @@ void moduleAddAnopeCmds()
|
||||
pmodule_cmd_242(charybdis_cmd_242);
|
||||
pmodule_cmd_243(charybdis_cmd_243);
|
||||
pmodule_cmd_211(charybdis_cmd_211);
|
||||
pmodule_cmd_eob(charybdis_cmd_eob);
|
||||
pmodule_flood_mode_check(charybdis_flood_mode_check);
|
||||
pmodule_cmd_jupe(charybdis_cmd_jupe);
|
||||
pmodule_valid_nick(charybdis_valid_nick);
|
||||
|
||||
@@ -64,7 +64,6 @@ void charybdis_cmd_318(const char *source, const char *who);
|
||||
void charybdis_cmd_242(const char *buf);
|
||||
void charybdis_cmd_243(const char *buf);
|
||||
void charybdis_cmd_211(const char *buf);
|
||||
void charybdis_cmd_eob();
|
||||
int charybdis_flood_mode_check(const char *value);
|
||||
void charybdis_cmd_jupe(const char *jserver, const char *who, const char *reason);
|
||||
int charybdis_valid_nick(const char *nick);
|
||||
|
||||
@@ -1502,9 +1502,9 @@ void InspIRCdProto::cmd_svspart(const char *source, const char *nick, const char
|
||||
send_cmd(source, "SVSPART %s %s", nick, chan);
|
||||
}
|
||||
|
||||
void inspircd_cmd_eob()
|
||||
void InspIRCdProto::cmd_eob()
|
||||
{
|
||||
send_cmd(NULL, "ENDBURST");
|
||||
send_cmd(NULL, "ENDBURST");
|
||||
}
|
||||
|
||||
|
||||
@@ -1584,7 +1584,6 @@ void moduleAddAnopeCmds()
|
||||
pmodule_cmd_242(inspircd_cmd_242);
|
||||
pmodule_cmd_243(inspircd_cmd_243);
|
||||
pmodule_cmd_211(inspircd_cmd_211);
|
||||
pmodule_cmd_eob(inspircd_cmd_eob);
|
||||
pmodule_flood_mode_check(inspircd_flood_mode_check);
|
||||
pmodule_cmd_jupe(inspircd_cmd_jupe);
|
||||
pmodule_valid_nick(inspircd_valid_nick);
|
||||
|
||||
@@ -69,7 +69,6 @@ void inspircd_cmd_318(const char *source, const char *who);
|
||||
void inspircd_cmd_242(const char *buf);
|
||||
void inspircd_cmd_243(const char *buf);
|
||||
void inspircd_cmd_211(const char *buf);
|
||||
void inspircd_cmd_eob();
|
||||
int inspircd_flood_mode_check(const char *value);
|
||||
void inspircd_cmd_jupe(const char *jserver, const char *who, const char *reason);
|
||||
int inspircd_valid_nick(const char *nick);
|
||||
@@ -114,4 +113,5 @@ class InspIRCdProto : public IRCDProtoNew {
|
||||
void cmd_svid_umode2(User *, const char *);
|
||||
void cmd_svsjoin(const char *, const char *, const char *, const char *);
|
||||
void cmd_svspart(const char *, const char *, const char *);
|
||||
void cmd_eob();
|
||||
} ircd_proto;
|
||||
|
||||
@@ -895,11 +895,6 @@ int anope_event_kick(const char *source, int ac, const char **av)
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
void ratbox_cmd_eob()
|
||||
{
|
||||
/* doesn't support EOB */
|
||||
}
|
||||
|
||||
int anope_event_join(const char *source, int ac, const char **av)
|
||||
{
|
||||
if (ac != 1) {
|
||||
@@ -1465,7 +1460,6 @@ void moduleAddAnopeCmds()
|
||||
pmodule_cmd_242(ratbox_cmd_242);
|
||||
pmodule_cmd_243(ratbox_cmd_243);
|
||||
pmodule_cmd_211(ratbox_cmd_211);
|
||||
pmodule_cmd_eob(ratbox_cmd_eob);
|
||||
pmodule_flood_mode_check(ratbox_flood_mode_check);
|
||||
pmodule_cmd_jupe(ratbox_cmd_jupe);
|
||||
pmodule_valid_nick(ratbox_valid_nick);
|
||||
|
||||
@@ -63,7 +63,6 @@ void ratbox_cmd_318(const char *source, const char *who);
|
||||
void ratbox_cmd_242(const char *buf);
|
||||
void ratbox_cmd_243(const char *buf);
|
||||
void ratbox_cmd_211(const char *buf);
|
||||
void ratbox_cmd_eob();
|
||||
int ratbox_flood_mode_check(const char *value);
|
||||
void ratbox_cmd_jupe(const char *jserver, const char *who, const char *reason);
|
||||
int ratbox_valid_nick(const char *nick);
|
||||
|
||||
@@ -1517,9 +1517,9 @@ void UnrealIRCdProto::cmd_swhois(const char *source, const char *who, const char
|
||||
send_cmd(source, "%s %s :%s", send_token("SWHOIS", "BA"), who, mask);
|
||||
}
|
||||
|
||||
void unreal_cmd_eob()
|
||||
void UnrealIRCdProto::cmd_eob()
|
||||
{
|
||||
send_cmd(ServerName, "%s", send_token("EOS", "ES"));
|
||||
send_cmd(ServerName, "%s", send_token("EOS", "ES"));
|
||||
}
|
||||
|
||||
/* svswatch
|
||||
@@ -1900,7 +1900,6 @@ void moduleAddAnopeCmds()
|
||||
pmodule_cmd_242(unreal_cmd_242);
|
||||
pmodule_cmd_243(unreal_cmd_243);
|
||||
pmodule_cmd_211(unreal_cmd_211);
|
||||
pmodule_cmd_eob(unreal_cmd_eob);
|
||||
pmodule_flood_mode_check(unreal_flood_mode_check);
|
||||
pmodule_cmd_jupe(unreal_cmd_jupe);
|
||||
pmodule_valid_nick(unreal_valid_nick);
|
||||
|
||||
@@ -98,7 +98,6 @@ void unreal_cmd_318(const char *source, const char *who);
|
||||
void unreal_cmd_242(const char *buf);
|
||||
void unreal_cmd_243(const char *buf);
|
||||
void unreal_cmd_211(const char *buf);
|
||||
void unreal_cmd_eob();
|
||||
int unreal_flood_mode_check(const char *value);
|
||||
void unreal_cmd_jupe(const char *jserver, const char *who, const char *reason);
|
||||
int unreal_valid_nick(const char *nick);
|
||||
@@ -140,4 +139,5 @@ class UnrealIRCdProto : public IRCDProtoNew {
|
||||
void cmd_svsjoin(const char *, const char *, const char *, const char *);
|
||||
void cmd_svspart(const char *, const char *, const char *);
|
||||
void cmd_swhois(const char *, const char *, const char *);
|
||||
void cmd_eob();
|
||||
} ircd_proto;
|
||||
|
||||
Reference in New Issue
Block a user