diff options
| author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-10-28 05:09:33 +0000 |
|---|---|---|
| committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-10-28 05:09:33 +0000 |
| commit | e769d30b90b2813b48b60a4072c84aa3fd22c127 (patch) | |
| tree | 086730a0f34a46b8fa1e0536594854d993ccc5b0 /src/unreal32.c | |
| parent | 5c5e36be3bbd1a9a3d02e23f5fc3ba9f652d360d (diff) | |
BUILD : 1.7.5 (426) BUGS : 133, 196, 200 NOTES : Add method to deal with hardcored sqline in the ircd (133), fixes timestamp errors with TOPIC (196), modes structs externed so mod coders can get to them easier (N/A), MS CHECK now checks the right value (200)
git-svn-id: svn://svn.anope.org/anope/trunk@426 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@283 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/unreal32.c')
| -rw-r--r-- | src/unreal32.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/unreal32.c b/src/unreal32.c index 439313ff6..35316351e 100644 --- a/src/unreal32.c +++ b/src/unreal32.c @@ -2136,4 +2136,19 @@ void anope_cmd_jupe(char *jserver, char *who, char *reason) new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL); } +/* + 1 = valid nick + 0 = nick is in valid +*/ +int anope_valid_nick(char *nick) +{ + if (!stricmp("ircd", nick)) { + return 0; + } + if (!stricmp("irc", nick)) { + return 0; + } + return 1; +} + #endif |
