Skip to content

Commit

Permalink
Remove the legacy bridge.
Browse files Browse the repository at this point in the history
Circe now fully uses the new irc.el API. The last remnants of
the Old IRC Interface have been swept away.

This creates a number of backwards-incompatible changes.

The whole message handler functionality is gone. Use the irc.el
event handlers instead.

All functions using the "nick user host" argument triple now take
"nick userhost" instead.

Also, the message option functionality was removed, and ignore/fool
is now handled by circe-display alone.

Fixes #124 and fixes #127
  • Loading branch information
jorgenschaefer committed Jun 19, 2015
1 parent 138785a commit d8cd635
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 391 deletions.
4 changes: 2 additions & 2 deletions circe-lagmon.el
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ in the mode-line."
(irc-handler-remove table "irc.ctcp.LAGMON"
'circe-lagmon--ctcp-lagmon-handler)
(irc-handler-remove table "NICK" 'circe-lagmon--nick-handler))
(circe-set-display-handler "CTCP-LAGMON" nil)
(circe-set-display-handler "irc.ctcp.LAGMON" nil)
(when circe-lagmon-timer
(cancel-timer circe-lagmon-timer)
(setq circe-lagmon-timer nil))
Expand All @@ -230,7 +230,7 @@ in the mode-line."
(irc-handler-add table "irc.ctcp.LAGMON"
'circe-lagmon--ctcp-lagmon-handler)
(irc-handler-add table "NICK" 'circe-lagmon--nick-handler))
(circe-set-display-handler "CTCP-LAGMON" 'circe-display-ignore)
(circe-set-display-handler "irc.ctcp.LAGMON" 'circe-display-ignore)
(dolist (buffer (circe-server-buffers))
(with-current-buffer buffer
(setq circe-lagmon-server-lag nil)
Expand Down
Loading

0 comments on commit d8cd635

Please sign in to comment.