mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
fixed int32's that test against npos to string::size_type
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@105 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
* better solution then plain text.
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.2 2005/04/04 06:35:19 imaginos
|
||||
* fixed int32's that test against npos to string::size_type
|
||||
*
|
||||
* Revision 1.1 2005/03/30 19:36:20 imaginos
|
||||
* rename files
|
||||
*
|
||||
@@ -153,7 +156,7 @@ public:
|
||||
|
||||
virtual void OnModCommand( const string& sCommand )
|
||||
{
|
||||
u_int iPos = sCommand.find( " " );
|
||||
string::size_type iPos = sCommand.find( " " );
|
||||
string sCom, sArgs;
|
||||
if ( iPos == string::npos )
|
||||
sCom = sCommand;
|
||||
|
||||
Reference in New Issue
Block a user