View Issue Details

IDProjectCategoryView StatusLast Update
0001233Anope Development (1.9.x series)Otherpublic2011-01-21 02:26
Reporterbinki Assigned ToLEthaLity  
PrioritylowSeveritytextReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0001233: Miscellaneous apostrophe misuse
Description09:30 < Analog|D600> binki
09:30 < Analog|D600> >-NickServ- The given email address has reached it's usage limit of 1 user.
09:30 < Analog|D600> fix that, please?

I know that the user was asking me to fix something other than the apostrophe abuse, but I do appreciate proper apostrophe use ;-).

I managed to attack a few obvious apostrophe-related problems in the attached patch.
TagsNo tags attached.

Activities

LEthaLity

2011-01-21 02:25

manager   ~0005728

fixed in commit 11b91fdc67c037b7fdc90c10575b62a3bcb90fcf, revision 3057, thanks for the patch.

binki

2011-01-19 23:56

reporter  

anope-git-apostrophes.patch (4,793 bytes)   
diff --git a/src/modules/demos/events.c b/src/modules/demos/events.c
index dfe9ed7..cb31c38 100644
--- a/src/modules/demos/events.c
+++ b/src/modules/demos/events.c
@@ -72,11 +72,11 @@ int do_moo(int argc, char **argv) {
     if(argc>=3) { /* We need at least 3 arguments */
 	if(stricmp(argv[0],"moo")==0) { /* is it meant for us? */
             if((ci = cs_findchan(argv[2]))) { /* channel should always exist */
-                anope_cmd_privmsg(ci->bi->nick, ci->name, "%cACTION moo's at %s %c",1,argv[1],1);
-	        return MOD_STOP; /* We've dealt with it, dont let others */
+                anope_cmd_privmsg(ci->bi->nick, ci->name, "%cACTION moos at %s %c",1,argv[1],1);
+	        return MOD_STOP; /* We've dealt with it, don't let others */
             }
 	} 
     }
-    return MOD_CONT; /* guess it wasnt for us, pass it on */
+    return MOD_CONT; /* guess it wasn't for us, pass it on */
 }
 
diff --git a/src/modules/demos/hs_moo.c b/src/modules/demos/hs_moo.c
index 4e7e883..c26433a 100644
--- a/src/modules/demos/hs_moo.c
+++ b/src/modules/demos/hs_moo.c
@@ -80,7 +80,7 @@ void AnopeFini(void)
 /***************************************************************************************************************************************/
 
 void myHostServHelp(User *u) {
-	notice(s_HostServ,u->nick, "    MOO         Moo's at the user!");		/* this will appear in the help list */
+	notice(s_HostServ,u->nick, "    MOO         Moos at the user!");		/* this will appear in the help list */
 }
 
 int myHostServMooHelp(User *u) {
diff --git a/src/modules/ns_maxemail.c b/src/modules/ns_maxemail.c
index 039a3d7..557a214 100644
--- a/src/modules/ns_maxemail.c
+++ b/src/modules/ns_maxemail.c
@@ -177,9 +177,9 @@ void my_add_languages(void)
 {
     char *langtable_en_us[] = {
         /* LNG_NSEMAILMAX_REACHED */
-        "The given email address has reached it's usage limit of %d users.",
+        "The given email address has reached its usage limit of %d users.",
         /* LNG_NSEMAILMAX_REACHED_ONE */
-        "The given email address has reached it's usage limit of 1 user."
+        "The given email address has reached its usage limit of 1 user."
     };
 
     char *langtable_nl[] = {
diff --git a/src/modules/os_info.c b/src/modules/os_info.c
index cc2e77a..57e2db6 100644
--- a/src/modules/os_info.c
+++ b/src/modules/os_info.c
@@ -545,12 +545,12 @@ void m_AddLanguages(void)
         /* OINFO_HELP */
         "Syntax: OINFO [ADD|DEL] nick <info>\n"
             "Add or Delete Oper information for the given nick\n"
-            "This will show up when any oper /ns info nick's the user.\n"
+            "This will show up when any oper uses /ns info nick on the user.\n"
             "and can be used for 'tagging' users etc....",
         /* OCINFO_HELP */
         "Syntax: OINFO [ADD|DEL] chan <info>\n"
             "Add or Delete Oper information for the given channel\n"
-            "This will show up when any oper /cs info's the channel.\n"
+            "This will show up when any oper uses /cs info on the channel.\n"
             "and can be used for 'tagging' channels etc....",
         /* OINFO_HELP_CMD */
         "    OINFO         Add / Del an OperInfo line to a nick",
diff --git a/src/operserv.c b/src/operserv.c
index cd770a3..d338ddb 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -1627,7 +1627,7 @@ void runDefCon(void)
     if (checkDefCon(DEFCON_FORCE_CHAN_MODES)) {
         if (DefConChanModes && !DefConModesSet) {
             if (DefConChanModes[0] == '+' || DefConChanModes[0] == '-') {
-                alog("DEFCON: setting %s on all chan's", DefConChanModes);
+                alog("DEFCON: setting %s on all channels", DefConChanModes);
                 DefConModesSet = 1;
                 do_mass_mode(DefConChanModes);
             }
@@ -1637,7 +1637,7 @@ void runDefCon(void)
             if (DefConChanModes[0] == '+' || DefConChanModes[0] == '-') {
                 DefConModesSet = 0;
                 if ((newmodes = defconReverseModes(DefConChanModes))) {
-                    alog("DEFCON: setting %s on all chan's", newmodes);
+                    alog("DEFCON: setting %s on all channels", newmodes);
                     do_mass_mode(newmodes);
                     free(newmodes);
                 }
diff --git a/src/protocol/ptlink.c b/src/protocol/ptlink.c
index 0bb4b8f..47f225c 100644
--- a/src/protocol/ptlink.c
+++ b/src/protocol/ptlink.c
@@ -447,7 +447,7 @@ int anope_event_newmask(char *source, int ac, char **av)
          */
         u->mode &= ~UMODE_NM;
         if (debug)
-            alog("debug: Ignoring NEWMASK because it's send because of SVSMODE +r");
+            alog("debug: Ignoring NEWMASK because it's sent because of SVSMODE +r");
         return MOD_CONT;
     }
 
anope-git-apostrophes.patch (4,793 bytes)   

Issue History

Date Modified Username Field Change
2011-01-19 23:56 binki New Issue
2011-01-19 23:56 binki File Added: anope-git-apostrophes.patch
2011-01-21 02:25 LEthaLity Note Added: 0005728
2011-01-21 02:26 LEthaLity Status new => resolved
2011-01-21 02:26 LEthaLity Resolution open => fixed
2011-01-21 02:26 LEthaLity Assigned To => LEthaLity