Răsfoiți Sursa

Add "listening to" to the default ChartsRegexp

Christoph Berg 18 ani în urmă
părinte
comite
62d2bb2bad
3 a modificat fișierele cu 6 adăugiri și 2 ștergeri
  1. 4 0
      docs/Changelog
  2. 1 1
      docs/pisg-doc.xml
  3. 1 1
      modules/Pisg.pm

+ 4 - 0
docs/Changelog

@@ -1,3 +1,7 @@
+pisg (0.73) - ??
+    Christoph:
+    * Add "listening to" to the default ChartsRegexp.
+
 pisg (0.72) - Wed Feb, 13th 2008
     The Not Quite Valentine's Day Release.
     Language Updates:

+ 1 - 1
docs/pisg-doc.xml

@@ -2965,7 +2965,7 @@
         <channel="#channel">
          Logfile = "channel.log"
          Format = "mIRC"
-         ChartsRegexp = "(?:np:|(?:now )?playing:? (?:MPEG stream from)?)\s*(.*)"
+         ChartsRegexp = "(?:is )?(?:np:|(?:now )?playing:? |listening to:? )(?:MPEG stream from)?\s*(.*)"
         </channel>
       ]]>
     </programlisting></refsynopsisdiv>

+ 1 - 1
modules/Pisg.pm

@@ -207,7 +207,7 @@ sub get_default_config_settings
 
         foulwords => 'ass fuck bitch shit scheisse scheiße kacke arsch ficker ficken schlampe',
         violentwords => 'slaps beats smacks',
-        chartsregexp => '(?:np:|(?:now )?playing:? (?:MPEG stream from)?)\s*(.*)',
+        chartsregexp => '(?:is )?(?:np:|(?:now )?playing:? |listening to:? )(?:MPEG stream from)?\s*(.*)',
         ignorewords => '',
         noignoredquotes => 0,
         tablewidth => 574,