1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 03:13:13 +02:00

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
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-05-29 22:34:50 +00:00
parent 259405a7da
commit f23b7e5b7f
4 changed files with 32 additions and 29 deletions
+1
View File
@@ -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]
+1 -2
View File
@@ -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);
+1 -1
View File
@@ -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);
+29 -26
View File
@@ -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 {