diff options
| author | 2006-03-09 13:21:35 +0000 | |
|---|---|---|
| committer | 2006-03-09 13:21:35 +0000 | |
| commit | c330b24501fc56516fef098428889a0a526e706a (patch) | |
| tree | 83a64774409c8c6808dd4c6a2587ca89229e9e97 /src/users.cpp | |
| parent | Fix printf format to get rid of compile warning (using %d for a long, change ... (diff) | |
Added userrec::modebits - fast way of checking if user has +swi rather than an icky strchr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3588 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 5c1d78fb0..a0929d684 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -107,7 +107,7 @@ userrec::userrec() server = (char*)FindServerNamePtr(Config->ServerName); reset_due = TIME; lines_in = fd = lastping = signon = idle_lastmsg = nping = registered = 0; - timeout = flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0; + modebits = timeout = flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0; haspassed = dns_done = false; recvq = ""; sendq = ""; |
