diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-06-25 20:58:45 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-06-25 20:58:45 +0000 |
| commit | c638cd622d5ea5b2e14ff0d2cbea84106f551e10 (patch) | |
| tree | f27bbbf08841f59f72f329694f417a1fa88c9e79 /src/protocol/inspircd.c | |
| parent | 2ea6359a1a6a0e1f80777a4d57a66d5b5064cfd6 (diff) | |
BUILD : 1.7.10 (832) BUGS : NOTES : Updated Italian langfile and removed some leftovers of userban stuff
git-svn-id: svn://svn.anope.org/anope/trunk@832 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@585 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/inspircd.c')
| -rw-r--r-- | src/protocol/inspircd.c | 63 |
1 files changed, 33 insertions, 30 deletions
diff --git a/src/protocol/inspircd.c b/src/protocol/inspircd.c index 592eefddf..76874cc51 100644 --- a/src/protocol/inspircd.c +++ b/src/protocol/inspircd.c @@ -19,37 +19,37 @@ #ifdef _WIN32 #include "winsock.h" -int inet_aton (const char *name, struct in_addr *addr) +int inet_aton(const char *name, struct in_addr *addr) { - uint32 a = inet_addr (name); - addr->s_addr = a; - return a != (uint32)-1; + uint32 a = inet_addr(name); + addr->s_addr = a; + return a != (uint32) - 1; } #endif IRCDVar myIrcd[] = { {"InspIRCd 1.0 Beta", /* ircd name */ - "+o", /* nickserv mode */ - "+o", /* chanserv mode */ - "+o", /* memoserv mode */ - "+o", /* hostserv mode */ - "+io", /* operserv mode */ - "+o", /* botserv mode */ - "+o", /* helpserv mode */ - "+i", /* Dev/Null mode */ - "+io", /* Global mode */ - "+o", /* nickserv alias mode */ - "+o", /* chanserv alias mode */ - "+o", /* memoserv alias mode */ - "+io", /* hostserv alias mode */ - "+io", /* operserv alias mode */ - "+o", /* botserv alias mode */ - "+o", /* helpserv alias mode */ - "+i", /* Dev/Null alias mode */ - "+io", /* Global alias mode */ - "+i", /* Used by BotServ Bots */ + "+o", /* nickserv mode */ + "+o", /* chanserv mode */ + "+o", /* memoserv mode */ + "+o", /* hostserv mode */ + "+io", /* operserv mode */ + "+o", /* botserv mode */ + "+o", /* helpserv mode */ + "+i", /* Dev/Null mode */ + "+io", /* Global mode */ + "+o", /* nickserv alias mode */ + "+o", /* chanserv alias mode */ + "+o", /* memoserv alias mode */ + "+io", /* hostserv alias mode */ + "+io", /* operserv alias mode */ + "+o", /* botserv alias mode */ + "+o", /* helpserv alias mode */ + "+i", /* Dev/Null alias mode */ + "+io", /* Global alias mode */ + "+i", /* Used by BotServ Bots */ 5, /* Chan Max Symbols */ - "-cilmnpstuzCGKNOQRSV", /* Modes to Remove */ + "-cilmnpstuzCGKNOQRSV", /* Modes to Remove */ "+ao", /* Channel Umode used by Botserv bots */ 1, /* SVSNICK */ 1, /* Vhost */ @@ -114,7 +114,8 @@ IRCDVar myIrcd[] = { 0, /* p10 */ NULL, /* character set */ 1, /* reports sync state */ - }, + } + , {NULL} }; @@ -401,7 +402,9 @@ void inspircd_set_umode(User * user, int ac, char **av) if (add) { opcnt++; if (WallOper) { - anope_cmd_global(s_OperServ, "\2%s\2 is now an IRC operator.", user->nick); + anope_cmd_global(s_OperServ, + "\2%s\2 is now an IRC operator.", + user->nick); } display_news(user, NEWS_OPER); } else { @@ -424,10 +427,10 @@ void inspircd_set_umode(User * user, int ac, char **av) /* Set mod_current_buffer from here */ void inspircd_set_mod_current_buffer(int ac, char **av) { - if (ac >= 3) - mod_current_buffer = sstrdup(av[2]); - else - mod_current_buffer = NULL; + if (ac >= 3) + mod_current_buffer = sstrdup(av[2]); + else + mod_current_buffer = NULL; } int anope_event_nickchange(char *source, int ac, char **av); |
