diff options
author | Adam <Adam@anope.org> | 2011-03-09 01:25:49 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-09 01:25:49 -0500 |
commit | e9aa04a8f497bdd6675d9d3ca2d25ba6110c3008 (patch) | |
tree | 260cb256ffcae43697ab8118c64e84a36731f9d9 /modules/core/cs_mode.cpp | |
parent | 8eb23e7d489239e8af79c2d6da587cd1c3a81b5d (diff) |
Store mlock in the databases and removed some unused functions from misc.cpp
Diffstat (limited to 'modules/core/cs_mode.cpp')
-rw-r--r-- | modules/core/cs_mode.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/core/cs_mode.cpp b/modules/core/cs_mode.cpp index 4d3705845..793a04dc2 100644 --- a/modules/core/cs_mode.cpp +++ b/modules/core/cs_mode.cpp @@ -129,10 +129,7 @@ class CommandCSMode : public Command Anope::string modeparam = ml.param; if (!modeparam.empty()) modeparam = " " + modeparam; - Anope::string setter = ml.setter; - if (setter.empty()) - setter = ci->founder ? ci->founder->display : "Unknown"; - source.Reply(_("%c%c%s, by %s on %s"), ml.set ? '+' : '-', cm->ModeChar, modeparam.c_str(), setter.c_str(), do_strftime(ml.created).c_str()); + source.Reply(_("%c%c%s, by %s on %s"), ml.set ? '+' : '-', cm->ModeChar, modeparam.c_str(), ml.setter.c_str(), do_strftime(ml.created).c_str()); } } } |