summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-09 04:17:41 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-09 04:17:41 +0000
commit9f36316d730c7b4457a5625ca8012ead11bd9482 (patch)
tree098e20404cf240fd2d0d1ce9a3ecf6c8395d4e7b /src
parent571dedb3ac80fc356208edf12143de0a7a43eee0 (diff)
Fixed percentage in m_tline (division was backwards, so it displayed 200% instead of 50%)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5459 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_tline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp
index 0208222a4..320515bb0 100644
--- a/src/modules/m_tline.cpp
+++ b/src/modules/m_tline.cpp
@@ -64,7 +64,7 @@ class cmd_tline : public command_t
}
}
if (n_matched)
- user->WriteServ( "NOTICE %s :*** TLINE: Counted %0.0f user(s). Matched '%s' against %0.0f user(s) (%0.2f%% of the userbase). %0.0f by hostname and %0.0f by IP address.",user->nick, n_counted, parameters[0], n_matched, (n_counted/n_matched)*100, n_match_host, n_match_ip);
+ user->WriteServ( "NOTICE %s :*** TLINE: Counted %0.0f user(s). Matched '%s' against %0.0f user(s) (%0.2f%% of the userbase). %0.0f by hostname and %0.0f by IP address.",user->nick, n_counted, parameters[0], n_matched, (n_matched/n_counted)*100, n_match_host, n_match_ip);
else
user->WriteServ( "NOTICE %s :*** TLINE: Counted %0.0f user(s). Matched '%s' against no user(s).", user->nick, n_counted, parameters[0]);