]> arthur.barton.de Git - ngircd-alex.git/blob - contrib/Anope/0002-ngircd-whitespace-fixes.patch
60356a8812d752969db6deda1a9041da8b3b3490
[ngircd-alex.git] / contrib / Anope / 0002-ngircd-whitespace-fixes.patch
1 From 1ea1dd2095e63cef34edbebb729edc687f410a96 Mon Sep 17 00:00:00 2001
2 From: Alexander Barton <alex@barton.de>
3 Date: Mon, 16 May 2011 18:26:56 +0200
4 Subject: [PATCH 2/2] ngircd: whitespace fixes
5
6 ---
7  modules/protocol/ngircd.cpp |   12 ++++++------
8  1 files changed, 6 insertions(+), 6 deletions(-)
9
10 diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
11 index 6e1f21f..e546d05 100644
12 --- a/modules/protocol/ngircd.cpp
13 +++ b/modules/protocol/ngircd.cpp
14 @@ -266,11 +266,11 @@ bool event_chaninfo(const Anope::string &source, const std::vector<Anope::string
15                 c = new Channel(params[0]);
16  
17         Anope::string modes = params[1];
18 -       
19 +
20         if (params.size() == 3)
21         {
22                 c->ChangeTopicInternal(source, params[2], Anope::CurTime);
23 -       } 
24 +       }
25         else if (params.size() == 5)
26         {
27                 for (size_t i = 0, end = params[1].length(); i < end; ++i)
28 @@ -307,7 +307,7 @@ bool event_njoin(const Anope::string &source, const std::vector<Anope::string> &
29                 c = new Channel(params[0], Anope::CurTime);
30                 c->SetFlag(CH_SYNCING);
31         }
32 -       
33 +
34         while (sep.GetToken(buf))
35         {
36                 std::list<ChannelMode *> Status;
37 @@ -415,9 +415,9 @@ bool event_376(const Anope::string &source, const std::vector<Anope::string> &pa
38  
39  class ProtongIRCd : public Module
40  {
41 -       Message message_kick, message_pass, message_njoin, message_chaninfo, message_005, 
42 +       Message message_kick, message_pass, message_njoin, message_chaninfo, message_005,
43                 message_442, message_376;
44 -       
45 +
46         ngIRCdProto ircd_proto;
47         ngIRCdIRCdMessage ircd_message;
48  
49 @@ -461,7 +461,7 @@ class ProtongIRCd : public Module
50         {
51                 this->SetAuthor("Anope");
52                 this->SetType(PROTOCOL);
53 -               
54 +
55                 Capab.SetFlag(CAPAB_QS);
56  
57                 pmodule_ircd_var(myIrcd);
58 -- 
59 1.7.2.5
60