use a flag for double enter checks
chathistory plugin: Make sure that the commandline string contains something before parsing it
chathistory plugin: Fix potential segmentation fault when iterating through the user's messages
Do not block all /msg commands when the user lacks the privateMessage permission
Don't let the user send PMs if they don't have the privateMessage permission

Fixes #2
Fix compile warnings
More compile warnings
Add the missing speed value so that our values are being passed to the right arguments.
Merge remote-tracking branch 'origin/v2_4_x' into v2_6_x