diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-03 17:58:59 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-03 17:58:59 +0000 |
commit | 24aa73984fc38a38fd8213c11d49dd36cf517894 (patch) | |
tree | d77a294ca8855e2392e708d4f4fbfac0bc67cdbc | |
parent | e8974f0d3e50a35c36ed63a1b454d2dc9fba51fc (diff) |
BUILD : 1.7.8 (761) BUGS : N/A NOTES : Tidied up tr.l in trunk
git-svn-id: svn://svn.anope.org/anope/trunk@761 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@522 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | lang/tr.l | 23 | ||||
-rw-r--r-- | src/protocol/bahamut.c | 25 | ||||
-rw-r--r-- | src/protocol/dreamforge.c | 21 | ||||
-rw-r--r-- | src/protocol/hybrid.c | 18 | ||||
-rw-r--r-- | src/protocol/inspircd.c | 17 | ||||
-rw-r--r-- | src/protocol/plexus.c | 18 | ||||
-rw-r--r-- | src/protocol/ptlink.c | 22 | ||||
-rw-r--r-- | src/protocol/rageircd.c | 21 | ||||
-rw-r--r-- | src/protocol/ratbox.c | 19 | ||||
-rw-r--r-- | src/protocol/shadowircd.c | 17 | ||||
-rw-r--r-- | src/protocol/solidircd.c | 21 | ||||
-rw-r--r-- | src/protocol/ultimate2.c | 21 | ||||
-rw-r--r-- | src/protocol/ultimate3.c | 21 | ||||
-rw-r--r-- | src/protocol/unreal31.c | 21 | ||||
-rw-r--r-- | src/protocol/unreal32.c | 19 | ||||
-rw-r--r-- | src/protocol/viagra.c | 18 | ||||
-rw-r--r-- | version.log | 6 |
17 files changed, 176 insertions, 152 deletions
@@ -6223,20 +6223,29 @@ HOST_LIST_KEY_FOOTER # HostServ Help messages # ########################################################################### -HOST_HELP - %S commands: +HOST_HELP_CMD_ON ON Activates your assigned vhost +HOST_HELP_CMD_OFF OFF Deactivates your assigned vhost - -HOST_OPER_HELP - Commands available to services operators only: +HOST_HELP_CMD_GROUP + GROUP Syncs the vhost for all nicks in a group +HOST_HELP_CMD_SET SET Set the vhost of another user +HOST_HELP_CMD_SETALL SETALL Set the vhost for all nicks in a group +HOST_HELP_CMD_DEL DEL Delete the vhost of another user +HOST_HELP_CMD_DELALL + DELALL Delete the vhost for all nicks in a group +HOST_HELP_CMD_LIST LIST Displays one or more vhost entries. - +HOST_OPER_HELP + n/a HOST_ADMIN_HELP - Commands available to services admins only: + n/a + +HOST_HELP + %S commands: HOST_HELP_ON Syntax: ON diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 0d6075c22..ff76c6df0 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -155,15 +155,15 @@ void bahamut_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; - - switch (*modes++) { + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; + + switch (*modes++) { case '+': add = 1; break; @@ -1283,8 +1283,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_ping(char *source, int ac, char **av) @@ -1628,7 +1628,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("BahamutIRCd 1.4.*/1.8.*"); diff --git a/src/protocol/dreamforge.c b/src/protocol/dreamforge.c index 7632a08f9..00cf2a844 100644 --- a/src/protocol/dreamforge.c +++ b/src/protocol/dreamforge.c @@ -152,13 +152,13 @@ void dreamforge_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -655,8 +655,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_topic(char *source, int ac, char **av) @@ -1332,7 +1332,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("DreamForge 4.6.7"); diff --git a/src/protocol/hybrid.c b/src/protocol/hybrid.c index af21a472e..613013ec9 100644 --- a/src/protocol/hybrid.c +++ b/src/protocol/hybrid.c @@ -154,13 +154,13 @@ void hybrid_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -850,8 +850,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_kill(char *source, int ac, char **av) diff --git a/src/protocol/inspircd.c b/src/protocol/inspircd.c index babcedaf6..1f6899200 100644 --- a/src/protocol/inspircd.c +++ b/src/protocol/inspircd.c @@ -383,13 +383,13 @@ void inspircd_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -1473,7 +1473,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Brain"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("InspIRCd 1.0 Beta3"); diff --git a/src/protocol/plexus.c b/src/protocol/plexus.c index 00be78d3f..a6fa39929 100644 --- a/src/protocol/plexus.c +++ b/src/protocol/plexus.c @@ -154,13 +154,13 @@ void plexus_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -933,8 +933,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_kill(char *source, int ac, char **av) diff --git a/src/protocol/ptlink.c b/src/protocol/ptlink.c index ede3e0f92..1333eb9a6 100644 --- a/src/protocol/ptlink.c +++ b/src/protocol/ptlink.c @@ -1232,15 +1232,15 @@ void ptlink_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; - - switch (*modes++) { + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; + + switch (*modes++) { case '+': add = 1; break; @@ -1288,8 +1288,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } void ptlink_cmd_bot_nick(char *nick, char *user, char *host, char *real, diff --git a/src/protocol/rageircd.c b/src/protocol/rageircd.c index 3db330fc4..6612175d5 100644 --- a/src/protocol/rageircd.c +++ b/src/protocol/rageircd.c @@ -790,13 +790,13 @@ void rageircd_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -913,8 +913,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_ping(char *source, int ac, char **av) @@ -1624,7 +1624,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("RageIRCd 2.0.x"); diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index b0887f001..585d2e014 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -154,13 +154,13 @@ void ratbox_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -1004,8 +1004,9 @@ int anope_event_away(char *source, int ac, char **av) if (UseTS6) { u = find_byuid(source); } - - m_away((UseTS6 ? (u ? u->nick : source) : source), (ac ? av[0] : NULL)); + + m_away((UseTS6 ? (u ? u->nick : source) : source), + (ac ? av[0] : NULL)); return MOD_CONT; } diff --git a/src/protocol/shadowircd.c b/src/protocol/shadowircd.c index f07bcd918..5cb670449 100644 --- a/src/protocol/shadowircd.c +++ b/src/protocol/shadowircd.c @@ -157,13 +157,13 @@ void shadowircd_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -1768,7 +1768,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("ShadowIRCd 4.0+"); diff --git a/src/protocol/solidircd.c b/src/protocol/solidircd.c index e8aab2a42..55fd83f61 100644 --- a/src/protocol/solidircd.c +++ b/src/protocol/solidircd.c @@ -155,13 +155,13 @@ void solidircd_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -1308,8 +1308,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_ping(char *source, int ac, char **av) @@ -1656,7 +1656,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("Solid-IRCd 3.4.*"); diff --git a/src/protocol/ultimate2.c b/src/protocol/ultimate2.c index cdd7016d5..5aa0f2be8 100644 --- a/src/protocol/ultimate2.c +++ b/src/protocol/ultimate2.c @@ -154,13 +154,13 @@ void ultiamte2_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -1118,8 +1118,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_topic(char *source, int ac, char **av) @@ -1683,7 +1683,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("UltimateIRCd 2.8.2+"); diff --git a/src/protocol/ultimate3.c b/src/protocol/ultimate3.c index 2aefc6e07..30ea9ba4e 100644 --- a/src/protocol/ultimate3.c +++ b/src/protocol/ultimate3.c @@ -152,13 +152,13 @@ void ultimate3_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -786,8 +786,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_topic(char *source, int ac, char **av) @@ -1766,7 +1766,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("UltimateIRCd 3.0.0.a26+"); diff --git a/src/protocol/unreal31.c b/src/protocol/unreal31.c index ef5ab6d30..4dcf7da84 100644 --- a/src/protocol/unreal31.c +++ b/src/protocol/unreal31.c @@ -373,13 +373,13 @@ void unreal_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -1007,8 +1007,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_topic(char *source, int ac, char **av) @@ -1540,7 +1540,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("UnrealIRCd 3.1.1+"); diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 77641e094..8ef4d419f 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -427,13 +427,13 @@ void unreal_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -1180,8 +1180,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } /* @@ -2171,7 +2171,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("UnrealIRCd 3.2+"); diff --git a/src/protocol/viagra.c b/src/protocol/viagra.c index 56d922887..2c1caa359 100644 --- a/src/protocol/viagra.c +++ b/src/protocol/viagra.c @@ -157,13 +157,13 @@ void viagra_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -893,8 +893,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_ping(char *source, int ac, char **av) diff --git a/version.log b/version.log index 997561a4b..68cb530cb 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="8" -VERSION_BUILD="759" +VERSION_BUILD="761" # $Log$ # +# BUILD : 1.7.8 (761) +# BUGS : N/A +# NOTES : Tidied up tr.l in trunk +# # BUILD : 1.7.8 (759) # BUGS : # NOTES : Various updates to the modulepack, and fixed an issue with mod_current_module set incorrectly in some cases, making the lang functions fail |