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:
psychon
2008-04-11 12:25:41 +00:00
parent 52f755f0fd
commit 5a34291455
+1 -1
View File
@@ -137,7 +137,7 @@ public:
a = sPath.find(' ');
}
PutModule(sLine, m_pUser->GetCurNick(), sPath);
PutModule(sLine, "shell", sPath);
}
void RunCommand(const CString& sCommand) {