mirror of
https://github.com/anope/anope.git
synced 2026-07-04 00:03:12 +02:00
BUILD : 1.7.18 (1217) BUGS : NOTES : Fixed small mistakes in both InspIRCd protocol modules
git-svn-id: svn://svn.anope.org/anope/trunk@1217 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@936 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
1318ed7342
commit
ba36a78231
@@ -35,7 +35,7 @@ int inet_aton (const char *name, struct in_addr *addr)
|
||||
#endif
|
||||
|
||||
IRCDVar myIrcd[] = {
|
||||
{"InspIRCd Beta 6", /* ircd name */
|
||||
{"InspIRCd 1.0", /* ircd name */
|
||||
"+o", /* nickserv mode */
|
||||
"+o", /* chanserv mode */
|
||||
"+o", /* memoserv mode */
|
||||
@@ -504,12 +504,12 @@ void moduleAddIRCDMsgs(void) {
|
||||
|
||||
void inspircd_cmd_svsnoop(char *server, int set)
|
||||
{
|
||||
send_cmd(NULL, "SVSNOOP %s %s", server, (set ? "+" : "-"));
|
||||
/* Not Supported by this IRCD */
|
||||
}
|
||||
|
||||
void inspircd_cmd_svsadmin(char *server, int set)
|
||||
{
|
||||
inspircd_cmd_svsnoop(server, set);
|
||||
/* Not Supported by this IRCD */
|
||||
}
|
||||
|
||||
void inspircd_cmd_remove_akill(char *user, char *host)
|
||||
@@ -1683,7 +1683,7 @@ int AnopeInit(int argc, char **argv)
|
||||
moduleAddVersion("$Id$");
|
||||
moduleSetType(PROTOCOL);
|
||||
|
||||
pmodule_ircd_version("inspircdIRCd Beta 6+");
|
||||
pmodule_ircd_version("inspircdIRCd 1.0");
|
||||
pmodule_ircd_cap(myIrcdcap);
|
||||
pmodule_ircd_var(myIrcd);
|
||||
pmodule_ircd_cbmodeinfos(myCbmodeinfos);
|
||||
|
||||
@@ -508,12 +508,12 @@ void moduleAddIRCDMsgs(void) {
|
||||
|
||||
void inspircd_cmd_svsnoop(char *server, int set)
|
||||
{
|
||||
send_cmd(NULL, "SVSNOOP %s %s", server, (set ? "+" : "-"));
|
||||
/* Not Supported by this IRCD */
|
||||
}
|
||||
|
||||
void inspircd_cmd_svsadmin(char *server, int set)
|
||||
{
|
||||
inspircd_cmd_svsnoop(server, set);
|
||||
/* Not Supported by this IRCD */
|
||||
}
|
||||
|
||||
void inspircd_cmd_remove_akill(char *user, char *host)
|
||||
@@ -1423,7 +1423,7 @@ int anope_event_chghost(char *source, int ac, char **av)
|
||||
{
|
||||
User *u;
|
||||
|
||||
if (ac != 2)
|
||||
if (ac != 1)
|
||||
return MOD_CONT;
|
||||
|
||||
u = finduser(source);
|
||||
|
||||
Reference in New Issue
Block a user