diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-29 22:34:50 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-29 22:34:50 +0000 |
commit | f23b7e5b7fe84362e314747f6dfce415a15c49d6 (patch) | |
tree | 9cb1d55e41e0dc11aa94f60b23a3798ca779c2ab | |
parent | 259405a7dabae13884b3da5fafe2820620a9046a (diff) |
Commited using svn commit, as indent is breaking everything
git-svn-id: svn://svn.anope.org/anope/trunk@820 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@573 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/core/os_ignore.c | 3 | ||||
-rw-r--r-- | src/core/os_opernews.c | 2 | ||||
-rw-r--r-- | src/protocol/inspircd.c | 55 |
4 files changed, 32 insertions, 29 deletions
@@ -1,6 +1,7 @@ Anope Version S V N -------------------- Provided by Anope Dev. <dev@anope.org> - 2005 +05/29 F operserv opernews dispalys the correct help now. [#386] 05/27 F Updated docs/FAQ. [ #00] 05/25 F Segfault when clearing non-existing nick '0' from ignore list. [#383] 05/25 F Removed a double extern definition of rdb_tag_table. [#381] diff --git a/src/core/os_ignore.c b/src/core/os_ignore.c index 99dcba408..b492e8af6 100644 --- a/src/core/os_ignore.c +++ b/src/core/os_ignore.c @@ -32,8 +32,7 @@ int AnopeInit(int argc, char **argv) Command *c; moduleAddAuthor("Anope"); - moduleAddVersion - ("$Id$"); + moduleAddVersion("$Id$"); moduleSetType(CORE); c = createCommand("IGNORE", do_ignoreuser, is_services_admin, OPER_HELP_IGNORE, -1, -1, -1, -1); diff --git a/src/core/os_opernews.c b/src/core/os_opernews.c index 706357893..671016f19 100644 --- a/src/core/os_opernews.c +++ b/src/core/os_opernews.c @@ -36,7 +36,7 @@ int AnopeInit(int argc, char **argv) * we can look at moving it here later **/ c = createCommand("OPERNEWS", do_opernews, is_services_oper, - NEWS_HELP_LOGON, -1, -1, -1, -1); + NEWS_HELP_OPER, -1, -1, -1, -1); moduleAddCommand(OPERSERV, c, MOD_UNIQUE); moduleSetOperHelp(myOperServHelp); diff --git a/src/protocol/inspircd.c b/src/protocol/inspircd.c index 94d049a68..2a11e57c0 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 { |