summary refs log tree commit diff stats
path: root/src/htm/Program.cs
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-05-09 20:32:05 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-05-09 20:32:05 +0100
commitcf59ad2c769a3ec2f5d977809697fa52d2c3de3a (patch)
tree5a6e2dfa6df705445c8671355a691e4900f460ca /src/htm/Program.cs
parentdba9c424733aef64f984bb1f49bf76ee8de79100 (diff)
Now process_numeric() passes the right session context to text_emit() when an
numeric event occurs regarding a nick with a open dialog.

Since this session context is potentially passed to plugins this can change the
behavior of plugins, but I think this is the intended semantics
(http://docs.hexchat.org/en/latest/script_python.html#context-theory).

Another consequence is that event messages will be displayed in the query dialog
of the nick in question (if a query dialog is open, of course), which I think is
sensible. (The initial intention of this patch was actually to report the
"No such nick" message in the query dialog when sending a message to a user that
has quit.)
Diffstat (limited to 'src/htm/Program.cs')
0 files changed, 0 insertions, 0 deletions