Your ROOT_URL in app.ini is https://git.idealirc.org/ but you are visiting http://git.idealirc.org:3000/idealirc/idealirc/commit/11f120d7ca15108619b5e26e8fa38a1565917d38?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
3 deletions
ICommand/ICommand.cpp
@ -478,16 +478,16 @@ bool ICommand::tryParseInternal(QString cmdLine)
using namespace Command : : IRC ;
using namespace Command : : IRC ;
if ( command = = CTCP | | command = = CTCPREPLY ) {
if ( command = = CTCP | | command = = CTCPREPLY ) {
CommandData argv ( cmdLine , { & ICommand : : prd_AnyWord , & ICommand : : prd_AnyWordToUpper , & ICommand : : prd_Message } ) ;
CommandData argv ( cmdLine , { & ICommand : : prd_AnyWordToUpper , & ICommand : : prd_AnyWord , & ICommand : : prd_Message } ) ;
if ( ! connection . isOnline ( ) )
if ( ! connection . isOnline ( ) )
print_notConnectedToServer ( command ) ;
print_notConnectedToServer ( command ) ;
else if ( ! argv [ 0 ] | | ! argv [ 1 ] )
else if ( ! argv [ 0 ] | | ! argv [ 1 ] )
print_notEnoughParameters ( command ) ;
print_notEnoughParameters ( command ) ;
else {
else {
if ( command = = CTCP )
if ( command = = CTCP )
mp - > cmd_ctcp ( * argv [ 0 ] , * argv [ 1 ] , argv [ 2 ] . value_or ( " " ) ) ;
mp - > cmd_ctcp ( * argv [ 1 ] , * argv [ 0 ] , argv [ 2 ] . value_or ( " " ) ) ;
else
else
mp - > cmd_ctcpreply ( * argv [ 0 ] , * argv [ 1 ] , argv [ 2 ] . value_or ( " " ) ) ;
mp - > cmd_ctcpreply ( * argv [ 1 ] , * argv [ 0 ] , argv [ 2 ] . value_or ( " " ) ) ;
}
}
return true ;
return true ;
}
}