summaryrefslogtreecommitdiff
path: root/protocols/IRCG/tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/tools.cpp')
-rw-r--r--protocols/IRCG/tools.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/protocols/IRCG/tools.cpp b/protocols/IRCG/tools.cpp
index d9218b2b42..83ac7ae60f 100644
--- a/protocols/IRCG/tools.cpp
+++ b/protocols/IRCG/tools.cpp
@@ -149,18 +149,6 @@ void CIrcProto::IrcHookEvent( const char* szEvent, IrcEventFunc pFunc )
::HookEventObj( szEvent, ( MIRANDAHOOKOBJ )*( void** )&pFunc, this );
}
-char* __stdcall rtrim( char *string )
-{
- char* p = string + strlen( string ) - 1;
- while ( p >= string ) {
- if ( *p != ' ' && *p != '\t' && *p != '\n' && *p != '\r' )
- break;
-
- *p-- = 0;
- }
- return string;
-}
-
CMString __stdcall GetWord(const TCHAR* text, int index)
{
if ( text && *text ) {