diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-09 04:17:41 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-09 04:17:41 +0000 |
commit | 9f36316d730c7b4457a5625ca8012ead11bd9482 (patch) | |
tree | 098e20404cf240fd2d0d1ce9a3ecf6c8395d4e7b | |
parent | 571dedb3ac80fc356208edf12143de0a7a43eee0 (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
-rw-r--r-- | src/modules/m_tline.cpp | 2 |
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]); |