diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-04-28 17:01:37 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-04-28 17:01:37 +0200 |
commit | 50373f4ff9467e9cd7033f3d9f3b468765d48d90 (patch) | |
tree | a6295bb2b8d4f79fc7c28ba35a0c68294eb1da5a /src/common/modes.c | |
parent | 2df866bdf8a709efd9f438627311c3652e687eae (diff) |
Get rid of some hardcoded network recognition
Diffstat (limited to 'src/common/modes.c')
-rw-r--r-- | src/common/modes.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/modes.c b/src/common/modes.c index dfcfdbc6..38e57e4c 100644 --- a/src/common/modes.c +++ b/src/common/modes.c @@ -817,9 +817,7 @@ inbound_005 (server * serv, char *word[]) } /* use /NICKSERV */ - if (g_ascii_strcasecmp (word[w] + 8, "RusNet") == 0) - serv->nickservtype = 1; - else if (g_ascii_strcasecmp (word[w] + 8, "UniBG") == 0) + if (g_ascii_strcasecmp (word[w] + 8, "UniBG") == 0) serv->nickservtype = 3; else if (g_ascii_strcasecmp (word[w] + 8, "QuakeNet") == 0) serv->nickservtype = 4; |