diff options
| author | 2005-12-13 23:11:37 +0000 | |
|---|---|---|
| committer | 2005-12-13 23:11:37 +0000 | |
| commit | dec44e09b85c9c5bd1e87b1f9607429f046a1e64 (patch) | |
| tree | 4250cd5b4cc945915fc712ddb4f8b73dcab99564 /src/xline.cpp | |
| parent | Tons of optimizations to add_channel (UNTESTED) (diff) | |
optimized a ton of strcmps down to an integer comparison!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2385 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/xline.cpp')
| -rw-r--r-- | src/xline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index ffe38c94d..434aaeeb1 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -702,7 +702,7 @@ void apply_lines() go_again = false; for (user_hash::const_iterator u = clientlist.begin(); u != clientlist.end(); u++) { - if (!strcasecmp(u->second->server,ServerName)) + if (u->second->server > -1) { snprintf(host,MAXBUF,"%s@%s",u->second->ident,u->second->host); if (elines.size()) |
