From f4448302e2f2b94e7da2ed8584b9b1e40798f29b Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Fri, 4 Mar 2011 15:49:43 -0700 Subject: [PATCH] Vim modelines must be at the bottom of files. Modules updated. --- bin/buildmod | 2 +- doc/CHANGELOG | 5 +++-- modules/Badwords.pm | 3 ++- modules/Bitly.pm | 3 ++- modules/BotStats.pm | 3 ++- modules/Calc.pm | 3 ++- modules/ChanTopics.pm | 3 ++- modules/Dictionary.pm | 3 ++- modules/EightBall.pm | 3 ++- modules/Eval.pm | 3 ++- modules/FML.pm | 3 ++- modules/Greet.pm | 3 ++- modules/HelloChan.pm | 3 ++- modules/IsItUp.pm | 3 ++- modules/LinkTitle.pm | 3 ++- modules/QDB.pm | 3 ++- modules/SASLAuth.pm | 3 ++- modules/UNO.pm | 3 ++- modules/Weather.pm | 3 ++- 19 files changed, 38 insertions(+), 20 deletions(-) diff --git a/bin/buildmod b/bin/buildmod index 9b2c0e1..4a5ad85 100755 --- a/bin/buildmod +++ b/bin/buildmod @@ -126,7 +126,7 @@ foreach my $line (@MPBUF) { $got_end = 1; } - if ($got_end and $line ne '__END__') { + if ($got_end and $line ne '__END__' and $line !~ m/^# vim:/sm) { $podbuf .= $line."\n"; } } diff --git a/doc/CHANGELOG b/doc/CHANGELOG index ec8f7a3..399785a 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -3,8 +3,9 @@ Auto IRC Bot 3.0: Change Log 3.0 Indev =============================================================================== - * Renamed Lib::User to Core::IRC::Users. - * Added Lib::User, for network-wide user tracking. This brings many new + * Vim modelines must be at the bottom of files. Modules updated. + * Renamed Lib::Users to Core::IRC::Users. + * Added Lib::Users, for network-wide user tracking. This brings many new possibilities to modules, including an account system. * Added hook on_namesreply. * All data related to a network is now deleted on disconnect. diff --git a/modules/Badwords.pm b/modules/Badwords.pm index 84a6965..dc9ac65 100644 --- a/modules/Badwords.pm +++ b/modules/Badwords.pm @@ -71,7 +71,6 @@ sub actonbadword API::Std::mod_init('Badwords', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -125,3 +124,5 @@ Changing the obvious to your wish. This module is compatible with Auto version 3.0.0a7+. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/Bitly.pm b/modules/Bitly.pm index 8f9ba8a..dfc8589 100644 --- a/modules/Bitly.pm +++ b/modules/Bitly.pm @@ -119,7 +119,6 @@ sub reverse # Start initialization. API::Std::mod_init('Bitly', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: cpan=LWP::UserAgent,URI::Escape perl=5.010000 __END__ @@ -182,3 +181,5 @@ get it from the CPAN . This module is compatible with Auto version 3.0.0a7+. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/BotStats.pm b/modules/BotStats.pm index ad0dba7..80efc7b 100644 --- a/modules/BotStats.pm +++ b/modules/BotStats.pm @@ -73,7 +73,6 @@ sub stats { API::Std::mod_init('BotStats', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -113,3 +112,5 @@ This module is Copyright 2010-2011 Xelhua Development Group. This module is released under the same licensing terms as Auto itself. =cut + +# vim: set ai et sw=4 ts=4: diff --git a/modules/Calc.pm b/modules/Calc.pm index 2dd7abb..3b6ef16 100644 --- a/modules/Calc.pm +++ b/modules/Calc.pm @@ -79,7 +79,6 @@ sub calc # Start initialization. API::Std::mod_init('Calc', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: cpan=LWP::UserAgent,URI::Escape,JSON,JSON::PP perl=5.010000 __END__ @@ -122,3 +121,5 @@ All are obtainable from the CPAN . This module is compatible with Auto version 3.0.0a7+. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/ChanTopics.pm b/modules/ChanTopics.pm index 0d35926..a72a2a6 100644 --- a/modules/ChanTopics.pm +++ b/modules/ChanTopics.pm @@ -283,7 +283,6 @@ sub _getdata API::Std::mod_init('ChanTopics', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -343,3 +342,5 @@ This module is compatible with Auto v3.0.0a7+. Ported from v1.0. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/Dictionary.pm b/modules/Dictionary.pm index 5dd1192..9bb12be 100644 --- a/modules/Dictionary.pm +++ b/modules/Dictionary.pm @@ -76,7 +76,6 @@ sub cmd_dict # Start initialization. API::Std::mod_init('Dictionary', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: cpan=Net::Dict perl=5.010000 __END__ @@ -102,3 +101,5 @@ This module adds an extra dependency: Net::Dict. You can get it from the CPAN This module is compatible with Auto v3.0.0a7+. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/EightBall.pm b/modules/EightBall.pm index 1778003..bd0e1b8 100644 --- a/modules/EightBall.pm +++ b/modules/EightBall.pm @@ -100,7 +100,6 @@ sub rigball # Start initialization. API::Std::mod_init('EightBall', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -148,3 +147,5 @@ This module is compatible with Auto version 3.0.0a7+. Ported from Auto 1.0. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/Eval.pm b/modules/Eval.pm index 094900c..d39e533 100644 --- a/modules/Eval.pm +++ b/modules/Eval.pm @@ -64,7 +64,6 @@ sub cmd_eval { # Start initialization. API::Std::mod_init('Eval', 'Xelhua', '1.01', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -104,3 +103,5 @@ This module is Copyright 2010-2011 Xelhua Development Group. This module is released under the same licensing terms as Auto itself. =cut + +# vim: set ai et sw=4 ts=4: diff --git a/modules/FML.pm b/modules/FML.pm index c5b6a6f..8b2631c 100644 --- a/modules/FML.pm +++ b/modules/FML.pm @@ -68,7 +68,6 @@ sub fml # Start initialization. API::Std::mod_init('FML', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: cpan=LWP::UserAgent perl=5.010000 __END__ @@ -115,3 +114,5 @@ This module is compatible with Auto version 3.0.0a7+. Ported from Auto 2.0. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/Greet.pm b/modules/Greet.pm index 5c4e30e..a344be1 100644 --- a/modules/Greet.pm +++ b/modules/Greet.pm @@ -126,7 +126,6 @@ sub hook_rcjoin # Start initialization. API::Std::mod_init('Greet', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -157,3 +156,5 @@ user that has a greet in the database joins a channel the bot is in. This module is compatible with Auto version 3.0.0a7+. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/HelloChan.pm b/modules/HelloChan.pm index 7f2c417..7698306 100644 --- a/modules/HelloChan.pm +++ b/modules/HelloChan.pm @@ -37,7 +37,6 @@ sub hello # Start initialization. API::Std::mod_init('HelloChan', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -49,3 +48,5 @@ __END__ This is an example module. Also, cows go moo. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/IsItUp.pm b/modules/IsItUp.pm index 52d7fd4..184a69f 100644 --- a/modules/IsItUp.pm +++ b/modules/IsItUp.pm @@ -70,7 +70,6 @@ sub check # Start initialization. API::Std::mod_init('IsItUp', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: cpan=LWP::UserAgent perl=5.010000 __END__ @@ -113,3 +112,5 @@ the CPAN . This module is compatible with Auto version 3.0.0a7+. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/LinkTitle.pm b/modules/LinkTitle.pm index 91e1afd..a52a333 100644 --- a/modules/LinkTitle.pm +++ b/modules/LinkTitle.pm @@ -67,7 +67,6 @@ sub gettitle # Start initialization. API::Std::mod_init('LinkTitle', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: cpan=LWP::UserAgent,HTML::Entities perl=5.010000 __END__ @@ -120,3 +119,5 @@ This module is Copyright 2010-2011 Xelhua Development Group. All rights reserved. This module is released under the same licensing terms as Auto itself. + +# vim: set ai et sw=4 ts=4: diff --git a/modules/QDB.pm b/modules/QDB.pm index c2b4a0b..b0890f1 100644 --- a/modules/QDB.pm +++ b/modules/QDB.pm @@ -212,7 +212,6 @@ sub cmd_qdb API::Std::mod_init('QDB', 'Xelhua', '1.02', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -260,3 +259,5 @@ This module is Copyright 2010-2011 Xelhua Development Group. Released under the same licensing terms as Auto itself. =cut + +# vim: set ai et sw=4 ts=4: diff --git a/modules/SASLAuth.pm b/modules/SASLAuth.pm index bde60e0..6861b7d 100644 --- a/modules/SASLAuth.pm +++ b/modules/SASLAuth.pm @@ -112,7 +112,6 @@ sub handle_906 # Start initialization. API::Std::mod_init('SASLAuth', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -172,3 +171,5 @@ This adds an extra dependency: You must build Auto with the This module is compatible with Auto v3.0.0a7+. =back + +# vim: set ai et sw=4 ts=4: diff --git a/modules/UNO.pm b/modules/UNO.pm index 807d05f..2025d40 100644 --- a/modules/UNO.pm +++ b/modules/UNO.pm @@ -1314,7 +1314,6 @@ sub on_rehash { # Start initialization. API::Std::mod_init('UNO', 'Xelhua', '1.03', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: perl=5.010000 __END__ @@ -1454,3 +1453,5 @@ This module is Copyright 2010-2011 Xelhua Development Group. Released under the same licensing terms as Auto itself. =cut + +# vim: set ai et sw=4 ts=4: diff --git a/modules/Weather.pm b/modules/Weather.pm index ff57563..7525dc8 100644 --- a/modules/Weather.pm +++ b/modules/Weather.pm @@ -79,7 +79,6 @@ sub weather # Start initialization. API::Std::mod_init('Weather', 'Xelhua', '1.00', '3.0.0a7', __PACKAGE__); -# vim: set ai et sw=4 ts=4: # build: cpan=LWP::UserAgent,XML::Simple perl=5.010000 __END__ @@ -124,3 +123,5 @@ obtainable from CPAN . This module is compatible with Auto version 3.0.0a7+. =back + +# vim: set ai et sw=4 ts=4: