0002-ngircd-whitespace-fixes.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. modules/protocol/ngircd.cpp | 12 ++++++------
  7. 1 files changed, 6 insertions(+), 6 deletions(-)
  8. diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
  9. index 6e1f21f..e546d05 100644
  10. --- a/modules/protocol/ngircd.cpp
  11. +++ b/modules/protocol/ngircd.cpp
  12. @@ -266,11 +266,11 @@ bool event_chaninfo(const Anope::string &source, const std::vector<Anope::string
  13. c = new Channel(params[0]);
  14. Anope::string modes = params[1];
  15. -
  16. +
  17. if (params.size() == 3)
  18. {
  19. c->ChangeTopicInternal(source, params[2], Anope::CurTime);
  20. - }
  21. + }
  22. else if (params.size() == 5)
  23. {
  24. for (size_t i = 0, end = params[1].length(); i < end; ++i)
  25. @@ -307,7 +307,7 @@ bool event_njoin(const Anope::string &source, const std::vector<Anope::string> &
  26. c = new Channel(params[0], Anope::CurTime);
  27. c->SetFlag(CH_SYNCING);
  28. }
  29. -
  30. +
  31. while (sep.GetToken(buf))
  32. {
  33. std::list<ChannelMode *> Status;
  34. @@ -415,9 +415,9 @@ bool event_376(const Anope::string &source, const std::vector<Anope::string> &pa
  35. class ProtongIRCd : public Module
  36. {
  37. - Message message_kick, message_pass, message_njoin, message_chaninfo, message_005,
  38. + Message message_kick, message_pass, message_njoin, message_chaninfo, message_005,
  39. message_442, message_376;
  40. -
  41. +
  42. ngIRCdProto ircd_proto;
  43. ngIRCdIRCdMessage ircd_message;
  44. @@ -461,7 +461,7 @@ class ProtongIRCd : public Module
  45. {
  46. this->SetAuthor("Anope");
  47. this->SetType(PROTOCOL);
  48. -
  49. +
  50. Capab.SetFlag(CAPAB_QS);
  51. pmodule_ircd_var(myIrcd);
  52. --
  53. 1.7.2.5