mirror of
https://github.com/znc/znc.git
synced 2026-08-03 23:43:42 +02:00
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
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ public:
|
||||
a = sPath.find(' ');
|
||||
}
|
||||
|
||||
PutModule(sLine, m_pUser->GetCurNick(), sPath);
|
||||
PutModule(sLine, "shell", sPath);
|
||||
}
|
||||
|
||||
void RunCommand(const CString& sCommand) {
|
||||
|
||||
Reference in New Issue
Block a user