diff options
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()); } } } |