diff options
Diffstat (limited to 'kopete/libkopete/private/kopetecommand.cpp')
-rw-r--r-- | kopete/libkopete/private/kopetecommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/libkopete/private/kopetecommand.cpp b/kopete/libkopete/private/kopetecommand.cpp index f9fef1b6..e80788bf 100644 --- a/kopete/libkopete/private/kopetecommand.cpp +++ b/kopete/libkopete/private/kopetecommand.cpp @@ -102,8 +102,8 @@ void Kopete::Command::processCommand( const TQString &args, Kopete::ChatSession // Translate %s to the whole string and %n to current nickname - formatString.tqreplace( TQString::tqfromLatin1("%n"), manager->myself()->nickName() ); - formatString.tqreplace( TQString::tqfromLatin1("%s"), args ); + formatString.replace( TQString::tqfromLatin1("%n"), manager->myself()->nickName() ); + formatString.replace( TQString::tqfromLatin1("%s"), args ); // Translate %1..%N to word1..wordN |