mirror of
				https://github.com/VCMP-SqMod/SqMod.git
				synced 2025-11-04 00:07:19 +01:00 
			
		
		
		
	Fix command system not recognizing greedy argument types after changes in previous commits. Credits to @DrakezZ for spotting the issue
This commit is contained in:
		@@ -1800,7 +1800,7 @@ public:
 | 
				
			|||||||
        // Retrieve the argument flags
 | 
					        // Retrieve the argument flags
 | 
				
			||||||
        const Uint8 f = m_ArgSpec[arg];
 | 
					        const Uint8 f = m_ArgSpec[arg];
 | 
				
			||||||
        // Perform the requested check
 | 
					        // Perform the requested check
 | 
				
			||||||
        return  (f == CMDARG_ANY) || ((f & flag) != 0x0);
 | 
					        return  (f == CMDARG_ANY) || ((f & flag) != 0x0) || ((f & CMDARG_GREEDY) && (flag & CMDARG_STRING));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* --------------------------------------------------------------------------------------------
 | 
					    /* --------------------------------------------------------------------------------------------
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user