From 5a342914554f1bac84842a10f1ba53076c094371 Mon Sep 17 00:00:00 2001 From: psychon Date: Fri, 11 Apr 2008 12:25:41 +0000 Subject: [PATCH] Shell: Don't send invalid nonsense like empty strings as ident The shell module uses the current nick for that user as the ident for queries from *shell. This makes no sense I once managed to get an empty ident, which confused irssi badly. Since there is no good reason to use this as ident, just use some static string as ident instead. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1021 726aef4b-f618-498e-8847-2d620e286838 --- modules/shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shell.cpp b/modules/shell.cpp index d4871df4..a7e56948 100644 --- a/modules/shell.cpp +++ b/modules/shell.cpp @@ -137,7 +137,7 @@ public: a = sPath.find(' '); } - PutModule(sLine, m_pUser->GetCurNick(), sPath); + PutModule(sLine, "shell", sPath); } void RunCommand(const CString& sCommand) {