emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/erc/erc-netsplit.el


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/erc/erc-netsplit.el
Date: Tue, 11 Apr 2006 22:09:50 +0000

Index: emacs/lisp/erc/erc-netsplit.el
diff -u emacs/lisp/erc/erc-netsplit.el:1.2 emacs/lisp/erc/erc-netsplit.el:1.3
--- emacs/lisp/erc/erc-netsplit.el:1.2  Sun Feb 12 20:25:00 2006
+++ emacs/lisp/erc/erc-netsplit.el      Tue Apr 11 22:09:49 2006
@@ -64,7 +64,8 @@
   :group 'erc-netsplit
   :type 'boolean)
 
-(defcustom erc-netsplit-regexp "^[^ @!\"]+\\.[^ @!]+ [^ @!]+\\.[^ @!\"]+$"
+(defcustom erc-netsplit-regexp
+  "^[^ @!\"\n]+\\.[^ @!\n]+ [^ @!\n]+\\.[^ @!\"\n]+$"
   "This regular expression should match quit reasons produced
 by netsplits."
   :group 'erc-netsplit
@@ -131,7 +132,7 @@
 (defun erc-netsplit-MODE (proc parsed)
   "Hide mode changes from servers."
   ;; regexp matches things with a . in them, and no ! or @ in them.
-  (when (string-match "address@hidden@!]+$" (erc-response.sender parsed))
+  (when (string-match "address@hidden@!\n]+$" (erc-response.sender parsed))
     (and erc-netsplit-debug
         (erc-display-message
          parsed 'notice (process-buffer proc)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]