From ddef7e7a06775863b971b6e657b9484feea67f47 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 28 Oct 2008 16:11:20 +0000 Subject: Add reasons to other modules that implement XLines also. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10741 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_rline.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules/m_rline.cpp') diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index b3ccfe8ef..5fdb18042 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -147,13 +147,12 @@ class CommandRLine : public Command { if (!duration) { - ServerInstance->SNO->WriteToSnoMask('x',"%s added permanent R-Line for %s.", user->nick.c_str(), parameters[0].c_str()); + ServerInstance->SNO->WriteToSnoMask('x',"%s added permanent R-Line for %s: %s", user->nick.c_str(), parameters[0].c_str(), parameters[2].c_str()); } else { time_t c_requires_crap = duration + ServerInstance->Time(); - ServerInstance->SNO->WriteToSnoMask('x', "%s added timed R-Line for %s, expires on %s", user->nick.c_str(), parameters[0].c_str(), - ServerInstance->TimeString(c_requires_crap).c_str()); + ServerInstance->SNO->WriteToSnoMask('x', "%s added timed R-Line for %s, expires on %s: %s", user->nick.c_str(), parameters[0].c_str(), ServerInstance->TimeString(c_requires_crap).c_str(), parameters[2].c_str()); } ServerInstance->XLines->ApplyLines(); -- cgit v1.2.3