[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Circe-help] [PATCH] circe-nickserv-handler use string-match for circe-s
From: |
John Foerch |
Subject: |
[Circe-help] [PATCH] circe-nickserv-handler use string-match for circe-server-network |
Date: |
Mon, 2 Mar 2009 20:25:12 -0500 |
This fixes a problem that when you connect to a network with M-x
circe, circe does not know what network it is on, therefore
auto-registering with nickserv does not work. For example:
M-x circe RET irc.freenode.net RET RET
Circe think the network is "irc.freenode.net", but nickserv-handler
expects it to be "freenode".
This change actually brings circe-nickserv-handler into line with the
existing documentation and definition of circe-nickserv-alist, which
says that:
NETWORK - A regular expression matching the network or server name
---
circe.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/circe.el b/circe.el
index f234ef9..4172340 100644
--- a/circe.el
+++ b/circe.el
@@ -2647,8 +2647,8 @@ password for this network."
(string= command "NOTICE"))
(catch 'return
(mapc (lambda (entry)
- (when (and (string= (nth 0 entry)
- circe-server-network)
+ (when (and (string-match (nth 0 entry)
+ circe-server-network)
(string= (nth 1 entry)
nick)
(string= (nth 2 entry)
--
1.5.6.5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Circe-help] [PATCH] circe-nickserv-handler use string-match for circe-server-network,
John Foerch <=