totallymike/ircnode — Issue #12: Private messages are parsed incorrectly
Author: thatvalterguy
Created: 2012-02-25 10:12:33+00:00
State: open
Labels: Bug (minor), Easy

Currently, private messages are handled with the same syntax as the channel messages. That means that the source for private messages is set to the bot's nick.

In-depth explanation:

```
Syntax for messages: realSource!~realSource@foo.bar.com PRIVMSG #channel :!command
Source: #channel (correct)

Syntax for PMs: realSource!~realSource@foo.bar.com PRIVMSG botNick :!command
Source: botNick (incorrect. realSource is the actual source here)
```