kan / p5-anyevent-irc-server

AnyEvent::IRC::Server
Other
20 stars 2 forks source link

NOTICE時にメッセージの先頭が1文字欠ける #4

Closed mattn closed 11 years ago

mattn commented 11 years ago

lingr-ircd は bot の発言を NOTICE で扱っており、その際のメッセージは

#channel abc

となっている。AE::I::Server はこれをそのまま send_chan_msg しているので

:prefix #channel abc

となる。RFC の規格として最終トークンの先頭には : を付ける必要があるので

:prefix #channel :abc

を期待している znc が(ここは未検証)先頭を削り、結果

bc

が表示される。

tokuhirom commented 11 years ago

Fixed.