diff options
author | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-02 09:25:02 +0000 |
---|---|---|
committer | certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-03-02 09:25:02 +0000 |
commit | 708f566ffb7905c31f6b71e3020586beb5289ac2 (patch) | |
tree | db7260aba9a2204ac2832083ca815b21d8edea4b /src | |
parent | 0f18525a2cbc77d1d0be26706dbe922cd1765f82 (diff) |
# BUILD : 1.7.13 (1000)
# BUGS : 424
# NOTES : Added TS6 Save support. This is #1000!
git-svn-id: svn://svn.anope.org/anope/trunk@1000 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@725 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/charybdis.c | 4 | ||||
-rw-r--r-- | src/protocol/ratbox.c | 5 | ||||
-rw-r--r-- | src/protocol/shadowircd.c | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/src/protocol/charybdis.c b/src/protocol/charybdis.c index 15c1314b7..6ebe3ff85 100644 --- a/src/protocol/charybdis.c +++ b/src/protocol/charybdis.c @@ -1761,7 +1761,9 @@ void charybdis_cmd_jupe(char *jserver, char *who, char *reason) */ int charybdis_valid_nick(char *nick) { - /* no hard coded invalid nicks */ + /* TS6 Save extension -Certus */ + if (isdigit(*nick)) + return 0; return 1; } diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index abdc7f0ca..9fbe537cc 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -1727,8 +1727,9 @@ void ratbox_cmd_jupe(char *jserver, char *who, char *reason) */ int ratbox_valid_nick(char *nick) { - /* no hard coded invalid nicks */ - return 1; + /* TS6 Save extension -Certus */ + if (isdigit(*nick)) + return 0; } /* diff --git a/src/protocol/shadowircd.c b/src/protocol/shadowircd.c index 7d1982e35..8e2a69c24 100644 --- a/src/protocol/shadowircd.c +++ b/src/protocol/shadowircd.c @@ -1675,7 +1675,9 @@ void shadowircd_cmd_jupe(char *jserver, char *who, char *reason) */ int shadowircd_valid_nick(char *nick) { - /* no hard coded invalid nicks */ + /* TS6 Save extension -Certus */ + if (isdigit(*nick)) + return 0; return 1; } |